package com.rao.crm.service;

import com.rao.crm.domain.PageBean;
import com.rao.crm.domain.SaleVisit;
import org.hibernate.criterion.DetachedCriteria;

/**
 * @author Srao
 * @version 1.0
 * @className SaleVisitService
 * @date 2019/9/21 20:01
 * @package com.rao.crm.service
 * @description
 */
public interface SaleVisitService {

    PageBean<SaleVisit> findAll(DetachedCriteria detachedCriteria, Integer currPage, Integer pageSize);

    void save(SaleVisit saleVisit);

    void delete(SaleVisit saleVisit);

    SaleVisit findById(String visit_id);

    void update(SaleVisit saleVisit);
}
